package com.mall.shop.entity.member;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * (Member)表实体类
 *
 * @author 龙茶清欢
 * @since 2023-01-15 14:23:48
 */
@Getter
@Setter
@TableName("ums_member")
@Schema(name = "实体", description = "映射")
public class Member implements Serializable {
    private static final long serialVersionUID = 502349582988328547L;

    @TableId(value = "id" , type = IdType.AUTO)
    @Schema(description = "id")
    private Long id;

    @TableField(value = "level_id")
    @Schema(description = "")
    private Long levelId;
    
    @TableField(value = "username")
    @Schema(description = "")
    private String username;
    
    @TableField(value = "password")
    @Schema(description = "")
    private String password;
    
    @TableField(value = "nickname")
    @Schema(description = "")
    private String nickname;
    
    @TableField(value = "mobile")
    @Schema(description = "")
    private String mobile;
    
    @TableField(value = "email")
    @Schema(description = "")
    private String email;
    
    @TableField(value = "header")
    @Schema(description = "ͷ")
    private String header;
    
    @TableField(value = "gender")
    @Schema(description = "")
    private Integer gender;
    
    @TableField(value = "birth")
    @Schema(description = "")
    private Date birth;
    
    @TableField(value = "city")
    @Schema(description = "")
    private String city;
    
    @TableField(value = "job")
    @Schema(description = "ְҵ")
    private String job;
    
    @TableField(value = "sign")
    @Schema(description = "")
    private String sign;
    
    @TableField(value = "source_type")
    @Schema(description = "")
    private Integer sourceType;
    
    @TableField(value = "integration")
    @Schema(description = "")
    private Integer integration;
    
    @TableField(value = "growth")
    @Schema(description = "")
    private Integer growth;
    
    @TableField(value = "status")
    @Schema(description = "")
    private Integer status;
    
	@TableField(value = "create_time" , fill = FieldFill.INSERT)
    @Schema(description = "ע")
    private Date createTime;
    
}

